ModuleInfo "Name: sedm.std"
ModuleInfo "Description: small Vector Module"
ModuleInfo "Licence: MIT"
ModuleInfo "Author: Jens [bruZard] Henschel"
import brl.blitz
bVector3^brl.blitz.Object{
.x#&
.y#&
.z#&
-New%()="_sedm_std_bVector3_New"
+Create:bVector3(x#,y#,z#)="_sedm_std_bVector3_Create"
+NullVec:bVector3()="_sedm_std_bVector3_NullVec"
+fromC:bVector3(vector@*)="_sedm_std_bVector3_fromC"
-toC@*()="_sedm_std_bVector3_toC"
+createPosition:bVector3(x#,y#,z#)="_sedm_std_bVector3_createPosition"
+createSize:bVector3(width#,Height#,depth#)="_sedm_std_bVector3_createSize"
+createRotation:bVector3(pitch#,yaw#,roll#)="_sedm_std_bVector3_createRotation"
-getX#()="_sedm_std_bVector3_getX"
-getY#()="_sedm_std_bVector3_getY"
-getZ#()="_sedm_std_bVector3_getZ"
}="sedm_std_bVector3"
bQuaternion^brl.blitz.Object{
.w#&
.X#&
.Y#&
.Z#&
-New%()="_sedm_std_bQuaternion_New"
+Create:bQuaternion(x#,y#,z#,w#)="_sedm_std_bQuaternion_Create"
+fromC:bQuaternion(p@*)="_sedm_std_bQuaternion_fromC"
+NullVec:bQuaternion()="_sedm_std_bQuaternion_NullVec"
-toC@*()="_sedm_std_bQuaternion_toC"
}="sedm_std_bQuaternion"
